package cn.qihua.model;

import java.sql.Timestamp;
import java.util.Date;

import org.apache.struts2.json.annotations.JSON;

/**
 * BaseProduct entity. @author MyEclipse Persistence Tools
 */

public class BaseProduct implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -3219809253003963979L;
	private Integer id;
	private Integer orderId;
	private String text;
	private String siteUrl;
	private String ip;
	private String type;
	private Integer userId;
	private String userName;
	private Timestamp acceptDate;
	private Timestamp finishDate;
	private String progress;
	private Integer years;
	private Date lostDate;
	private Boolean isDisuse;
	private Boolean status;
	private String remark;

	// Constructors

	/** default constructor */
	public BaseProduct() {
	}

	/** full constructor */
	public BaseProduct(Integer orderId, String text, String siteUrl, String ip,
			String type, Integer userId, String userName, Timestamp acceptDate,
			Timestamp finishDate, String progress, Integer years,
			Date lostDate, Boolean isDisuse, Boolean status, String remark) {
		this.orderId = orderId;
		this.text = text;
		this.siteUrl = siteUrl;
		this.ip = ip;
		this.type = type;
		this.userId = userId;
		this.userName = userName;
		this.acceptDate = acceptDate;
		this.finishDate = finishDate;
		this.progress = progress;
		this.years = years;
		this.lostDate = lostDate;
		this.isDisuse = isDisuse;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getSiteUrl() {
		return this.siteUrl;
	}

	public void setSiteUrl(String siteUrl) {
		this.siteUrl = siteUrl;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	@JSON(format = "yyyy-MM-dd HH:mm:ss")
	public Timestamp getAcceptDate() {
		return this.acceptDate;
	}

	public void setAcceptDate(Timestamp acceptDate) {
		this.acceptDate = acceptDate;
	}
	@JSON(format = "yyyy-MM-dd HH:mm:ss")
	public Timestamp getFinishDate() {
		return this.finishDate;
	}

	public void setFinishDate(Timestamp finishDate) {
		this.finishDate = finishDate;
	}

	public String getProgress() {
		return this.progress;
	}

	public void setProgress(String progress) {
		this.progress = progress;
	}

	public Integer getYears() {
		return this.years;
	}

	public void setYears(Integer years) {
		this.years = years;
	}
	@JSON(format = "yyyy-MM-dd")
	public Date getLostDate() {
		return this.lostDate;
	}

	public void setLostDate(Date lostDate) {
		this.lostDate = lostDate;
	}

	public Boolean getIsDisuse() {
		return this.isDisuse;
	}

	public void setIsDisuse(Boolean isDisuse) {
		this.isDisuse = isDisuse;
	}

	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}